package com.sun.dao;

import com.sun.model.Dept;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DeptDao {

    public boolean add(Dept dept);

    Dept getById(Integer id);

    List<Dept> getDeptList();
}
